package com.ITD.mapper;

import com.ITD.pojo.Event;
import com.ITD.pojo.QueryResultParam;
import com.ITD.pojo.SumEvents;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface EventMapper extends BaseMapper<Event> {
    List<QueryResultParam> queryEvents(Date happen_date_begin, Date happen_date_end,String class_id,
                                       String detail,String student_name,String student_id,
                                       String event_id,String real_name);
    List<SumEvents> sumEvents(int type_id,String class_id,Date happen_date_begin,Date happen_date_end);
}
